﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Comisarias.aspx.vb" Inherits="Comisarias" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Página sin título</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Bienvenido Sr
        <asp:Label ID="lblUserNombre" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Blue" Text="Nombre"></asp:Label>. &nbsp;<asp:Label ID="lblUserNick"
                runat="server" Font-Bold="True" Font-Italic="True" Font-Size="14pt" ForeColor="Blue"
                Text="Nick"></asp:Label>
        su nivel de acceso es
        <asp:Label ID="lblUserIdCategoria" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Red" Text="IdCategoria"></asp:Label>
        =
        <asp:Label ID="lblUserCategoria" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Red" Text="Categoria"></asp:Label>
        su Id es
        <asp:Label ID="lblUserIdUsuario" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Red" Text="IdUsuario"></asp:Label><br />
        Su comisaria es
        <asp:Label ID="lblUserIdComisaria" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Red" Text="IdComisaria"></asp:Label>
        =
        <asp:Label ID="lblUserComisaria" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Red" Text="Comisaria"></asp:Label>. Su nodo es
        <asp:Label ID="lblUserIdNodo" runat="server" Font-Bold="True" Font-Italic="True"
            Font-Size="14pt" ForeColor="Red" Text="IdNodo"></asp:Label>
        =
        <asp:Label ID="lblUserNodo" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="14pt"
            ForeColor="Red" Text="Nodo"></asp:Label><br />
        <a href="Inicio.aspx"><span style="color: #000000">Pagina de Inicio</span></a>
        &nbsp; &nbsp; &nbsp;
        <a href="Menu.aspx"><span style="color: #000000">Menu</span></a><br />
        <br />
        &nbsp;<asp:Button ID="btnAgregar" runat="server" Text="Agregar" Width="80px" />
        <asp:Button ID="btnEliminar" runat="server" Text="Eliminar" Width="80px" />
        <asp:Button ID="btnEditar" runat="server" Text="Editar" Width="80px" />
        <asp:Button ID="btnFiltrar" runat="server" Text="Filtrar" Width="80px" />
        <asp:Button ID="btnCalcWin" runat="server" Text="Calculadora Windows" /><br />
        <asp:Panel ID="PanelSeleccion" runat="server" BorderStyle="Double" Height="6px" Visible="False"
            Width="504px">
            Seleccione comisaria :&nbsp;
            <asp:DropDownList ID="DDLDescripcion" runat="server"
                Width="150px" AppendDataBoundItems="True" AutoPostBack="True">
                <asp:ListItem>Su Elecci&#243;n</asp:ListItem>
            </asp:DropDownList>
            &nbsp; 
            <asp:Label ID="lblCrtlDDLDescripcion" runat="server" ForeColor="Red" Text="*Seleccione una comisaria"
                Visible="False" Width="200px"></asp:Label>
            &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<asp:Button ID="btnAceptarSeleccion"
                    runat="server" BackColor="Green" Text="Aceptar" Width="80px" /><asp:Button ID="btnSalirPanelEdicion" runat="server" BackColor="#C00000" Text="Salir"
                Width="80px" /></asp:Panel>
        <asp:Panel ID="PanelFiltro" runat="server" BorderStyle="Double" Height="168px" Visible="False"
            Width="504px">
            <asp:Label ID="Label10" runat="server" Text="Campos de datos" Width="136px"></asp:Label>
            &nbsp;&nbsp;<asp:DropDownList ID="DDLCampos" runat="server" AppendDataBoundItems="True"
                AutoPostBack="True" Width="150px">
                <asp:ListItem>Su Elecci&#243;n</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblCampo" runat="server" ForeColor="Red" Text="*Seleccione un campo de datos"
                Visible="False" Width="200px"></asp:Label><br />
            <asp:Label ID="Label2" runat="server" Text="Operadores lógicos" Width="136px"></asp:Label>
            &nbsp;&nbsp;<asp:DropDownList ID="DDLLogicos" runat="server" AutoPostBack="True"
                Width="150px">
                <asp:ListItem>Su Elecci&#243;n</asp:ListItem>
                <asp:ListItem>=</asp:ListItem>
                <asp:ListItem>&gt;</asp:ListItem>
                <asp:ListItem>&lt;</asp:ListItem>
                <asp:ListItem>&gt;=</asp:ListItem>
                <asp:ListItem>&lt;=</asp:ListItem>
                <asp:ListItem>&lt;&gt;</asp:ListItem>
                <asp:ListItem>or</asp:ListItem>
                <asp:ListItem>and</asp:ListItem>
                <asp:ListItem>in</asp:ListItem>
                <asp:ListItem>between</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblLogico" runat="server" ForeColor="Red" Text="*Seleccione un operador lógico"
                Visible="False" Width="200px"></asp:Label><br />
            <asp:Label ID="Label3" runat="server" Text="Datos del campo" Width="136px"></asp:Label>
            &nbsp;&nbsp;<asp:DropDownList ID="DDLDatos" runat="server" AppendDataBoundItems="True"
                AutoPostBack="True" Width="150px">
                <asp:ListItem>Su Elecci&#243;n</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblDato" runat="server" ForeColor="Red" Text="*Seleccione un dato del campo"
                Visible="False" Width="200px"></asp:Label><br />
            &nbsp;<br />
            SQL =
            <asp:TextBox ID="txtSQL" runat="server" Height="32px" TextMode="MultiLine" Width="448px"></asp:TextBox><br />
            <br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:Button ID="btnLimpiarSQL"
                runat="server" Text="Limpiar SQL" Width="80px" /><asp:Button ID="btnAceptarFiltro"
                    runat="server" BackColor="Green" Text="Aceptar" Width="80px" /><asp:Button ID="btnSalirPanelFiltro"
                        runat="server" BackColor="#C00000" Text="Salir" Width="80px" />
        </asp:Panel>
        <asp:Panel ID="PanelEliminar" runat="server" BorderStyle="Double" Height="24px" Visible="False"
            Width="504px">
            Seleccione comisaria : &nbsp;<asp:DropDownList ID="DDLEliminar" runat="server"
                Width="150px" AppendDataBoundItems="True" AutoPostBack="True">
                <asp:ListItem>Su Elecci&#243;n</asp:ListItem>
            </asp:DropDownList>&nbsp; &nbsp;<asp:Label ID="lblCrtlDDLEliminar"
                runat="server" ForeColor="Red" Text="*Seleccione una comisaria" Visible="False"
                Width="200px"></asp:Label><br />
            <br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:Button ID="btnAceptarPanelEliminar"
                runat="server" BackColor="Green" Text="Eliminar" Width="80px" /><asp:Button ID="btnSalirPanelEliminar"
                    runat="server" BackColor="#C00000" Text="Salir" Width="80px" /></asp:Panel>
        <asp:Panel ID="PanelEdicion" runat="server" BackColor="#E0E0E0" BorderStyle="Outset"
            Height="184px" Visible="False" Width="392px">
            &nbsp;<asp:Label ID="lblDescripcion" runat="server" Text="Descripcion" Width="75px" Height="18px"></asp:Label>&nbsp;&nbsp;
            &nbsp;<asp:TextBox ID="txtDescripcion" runat="server" Width="150px" BackColor="White" ForeColor="Black" Height="18px" ToolTip="Descripcion no editable"></asp:TextBox>&nbsp;<br />
            &nbsp;<asp:Label ID="lblIdNodo" runat="server" Text="IdNodo" Width="75px" Height="18px"></asp:Label>
            &nbsp;&nbsp;
            <asp:TextBox ID="txtIdNodo" runat="server" BackColor="Silver" Enabled="False" ForeColor="Black"
                Height="18px" ToolTip="IdNodo no editable. Seleccione desde la lista ->"
                Width="150px"></asp:TextBox>&nbsp;<asp:DropDownList ID="DDLNodos" runat="server" AppendDataBoundItems="True" AutoPostBack="True" Width="120px">
                    <asp:ListItem>Su Elecci&#243;n</asp:ListItem>
                </asp:DropDownList><br />
            &nbsp;<asp:Label ID="lblDomicilio" runat="server" Text="Domicilio" Width="75px" Height="18px"></asp:Label>
            &nbsp; &nbsp;<asp:TextBox ID="txtDomicilio" runat="server" BackColor="White" Width="150px" Height="18px" ForeColor="Black"></asp:TextBox><br />
            &nbsp;<asp:Label ID="lblBarrio" runat="server" Text="Barrio" Width="75px" Height="18px"></asp:Label>
            &nbsp;&nbsp;
            <asp:TextBox ID="txtBarrio" runat="server" BackColor="White" Height="18px" ToolTip="Modelo no editable. Seleccione desde la lista ->"
                Width="150px"></asp:TextBox>&nbsp;<br />
            &nbsp;<asp:Label ID="lblTE" runat="server" Text="Telefono" Width="75px" Height="18px"></asp:Label>
            &nbsp; &nbsp;<asp:TextBox ID="txtTE" runat="server" BackColor="White" Height="18px"
                Width="150px"></asp:TextBox><br />
            &nbsp;&nbsp;<br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:Label ID="labelMessage" runat="server" BackColor="Black" Font-Bold="True" ForeColor="Red"></asp:Label>
            &nbsp; &nbsp; &nbsp;<br />
            <center>
                <asp:Button ID="btnAceptarEdicion" runat="server" Text="Aceptar Cambios" ToolTip="Modifica el registro"
                    Width="120px" />
                <asp:Button ID="btnSalir" runat="server" Text="Salir" ToolTip="Sale sin guardar los cambios"
                    Width="120px" />
                <asp:Button ID="btnRecuperar" runat="server" Text="Restaurar" ToolTip="Restaura valores iniciales para editar"
                    Width="120px" /></center>
            <center>
                &nbsp;</center>
        </asp:Panel>
        &nbsp;<br />
        <asp:GridView ID="GV2" runat="server" Caption="Tabla Comisarias" BackColor="#FFFFC0" Font-Bold="False" ForeColor="Black">
        </asp:GridView>
        &nbsp;
    </div>
    </form>
</body>
</html>
